package com.fzhucc.modules.elect.domain.dto;

import com.fzhucc.modules.system.service.dto.UserDto;
import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;

/**
* @website https://eladmin.vip
* @description /
* @author yyg
* @date 2022-11-16
**/
@Data
public class ElectDto implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("banner图")
    private String banner;

    @ApiModelProperty("发布时间")
    private Timestamp releaseTime;

    @ApiModelProperty("发文单位")
    private String releaseUnit;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("显示顺序")
    private Integer sort;

    @ApiModelProperty(value = "是否首页展示")
    private Integer isIndex;

    @ApiModelProperty("简介")
    private String intro;

    @ApiModelProperty("优选分类")
    private String classify;

    @ApiModelProperty("是否小程序展示")
    private Integer isShow;

    private Long createUserId;

    @ApiModelProperty("创建者")
    private UserDto createUser;

    @ApiModelProperty(value = "内容类型 notice_type")
    private String type;

    @ApiModelProperty(value = "内容链接")
    private String contentUrl;
    /**
     * 区域划分
     */
    /*@ApiModelProperty(value = "区域划分")
    private String orgArea;*/

    /**
     * 图片数组
     */
    @ApiModelProperty(value = "图片数组")
    private String[] pics;


    @ApiModelProperty(value = "关键字")
    private String keyWord;

    @ApiModelProperty(value = "关键字数组")
    private String[] keyWords;

    @ApiModelProperty(value = "创新点")
    private String cx;

/*    @ApiModelProperty("地区组织机构区分  ")
    private String orgArea;

    @ApiModelProperty("地区省市县数组")
    private String[] orgAreas;*/

    @ApiModelProperty(value = "地区划分和分类里面的地区保持一致性")
    public String orgArea;

    /**
     * 视频
     */
    @ApiModelProperty(value = "视频")
    private String video;

    /**
     * 图片
     */
    @ApiModelProperty(value = "图片")
    private String pic;
}